<% form_tag session_path do -%>
<div class="login_register_container">
  <div>
    <table style="margin:10px;">
      <tr>
        <td class="tdCenter title" style="padding: 0px 0px 10px 0px" colspan="2">
          <%= User.l_attr('login') + " " + l('common', 'now')%> 
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="email">
            <%= User.l_attr(:email) %>:
          </label>
        </td>
        <td>
          <%= text_field_tag 'email' %>
        </td>
      </tr>
      <tr>
        <td class="tdRight">
          <label for="password">
            <%= User.l_attr(:password) %>:
          </label>
        </td>
        <td>
          <%= password_field_tag 'password' %>
        </td>
      </tr>
      <tr>
        <td colspan="2">
        <label for="remember_me">
          <%= User.l_attr(:remember) %>:
        </label>
        <%= check_box_tag 'remember_me' %>
      </td>
      </tr>
      <tr>
        <td colspan="2" class="tdCenter">
          <%= submit_tag User.l_attr('login'), :class => 'submit' %>
          or <%= link_to User.l_attr('register'), register_url %>
          <br/>
          <br/>
          <%= link_to User.l_attr('forgot password') + "?", forgot_password_url %>
        </td>
      </tr>
    </table>
  </div>
</div>
<% end -%>

<div class="explanation">
  <div class="title"> Why login?</div>
  <p><strong>Favorites.</strong> Keep track of the artists you love.</p>
  <p><strong>Language.</strong> <%= SITE_NAME %> has been translated into many languages &mdash; login to select the one you want to see.</p>
  <p><strong>Saved Information.</strong> Making transactions on <%= SITE_NAME %> is even easier for members because you can save your information!</p>
</div>
<div class="explanation">
  Want to take advantage of all that we have to offer?  <%= link_to "Register", new_user_url %> today!
</div>

<br /><br /><br /><br /><br />